package com.lxy.equipment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lxy.common.domain.common.R;
import com.lxy.common.domain.dto.MaintenanceScheduleDTO;
import com.lxy.common.domain.vo.MaintenanceSchedulesVO;
import com.lxy.equipment.domain.po.MaintenanceSchedules;

import java.util.List;

public interface MaintenanceSchedulesService extends IService<MaintenanceSchedules> {
    R addMaintenanceSchedule(MaintenanceScheduleDTO maintenanceScheduleDTO);

    R deleteMaintenanceSchedule(Long maintenanceId);

    R<List<MaintenanceSchedulesVO>> getAllMaintenanceSchedule();

    R updateMaintenanceSchedule(MaintenanceSchedulesVO maintenanceSchedulesVO);

    R<List<MaintenanceSchedulesVO>> getMyMaintenanceSchedules(Long userId);
}
